package cn.stylefeng.guns.modular.system.mapper;

import cn.stylefeng.guns.modular.system.entity.ExamUser;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author zfy
 * @since 2020-08-12
 */
public interface ExamUserMapper extends BaseMapper<ExamUser> {

    List<Map<String, Object>> examUser(@Param("name") String name,
                                       @Param("createUser") Long createUser);

    IPage<Map<String, Object>> examSignUpList(@Param("page") Page page,
                                              @Param("createUsers") String[] createUsers);
}
